from direct.showbase import DirectObject
from direct.gui.DirectGui import *
from direct.gui.OnscreenText import OnscreenText
from direct.gui.OnscreenImage import OnscreenImage

import direct.directbase.DirectStart
import sys

class RetryMenu(DirectObject.DirectObject):
    def __init__(self, cond=1):
        self.frame = DirectFrame(frameSize=(-0.5, 0.5, -0.5, 0.5), frameColor=(0.8, 0.8, 0.8, 0), pos=(0, 0, 0))
        self.frame2 = DirectFrame(parent=render2d, image="textures/retry.png", sortOrder=(-1))

        self.frame.show()
        self.frame2.show()
